package com.team11.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author pjc
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("c_files")
@ApiModel(value="CFiles对象", description="")
public class CFiles implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "c_f_id", type = IdType.AUTO)
    private Integer cFId;

    @ApiModelProperty(value = "附件地址")
    @TableField("c_file")
    private String cFile;

    @ApiModelProperty(value = "附件类型")
    @TableField("c_f_type")
    private Integer cFType;

    @ApiModelProperty(value = "附件名称")
    @TableField("c_f_name")
    private String cFName;

    @ApiModelProperty(value = "作业id")
    @TableField("h_id")
    private Integer hId;

    @ApiModelProperty(value = "请假id")
    @TableField("q_id")
    private Integer qId;

    @ApiModelProperty(value = "提交作业id")
    @TableField("homework_id")
    private Integer homeworkId;

    @ApiModelProperty(value = "上传人（学生）")
    @TableField("sid")
    private Integer sid;

    @ApiModelProperty(value = "上传人（老师）")
    @TableField("t_id")
    private Integer tId;

}
